using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("BoxSpinner")]
	public class BoxSpinner : MonoBehaviour
	{
		public Box m_parent => method_3<Box>("m_parent");

		public BoxSpinnerStateInfo m_info => method_3<BoxSpinnerStateInfo>("m_info");

		public bool m_spinning => method_2<bool>("m_spinning");

		public float m_spinY => method_2<float>("m_spinY");

		public Material m_spinnerMat => method_3<Material>("m_spinnerMat");

		public BoxSpinner(IntPtr address, string className)
			: base(address, className)
		{
		}

		public BoxSpinner(IntPtr address)
			: this(address, "BoxSpinner")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void Update()
		{
			method_8("Update");
		}

		public Box GetParent()
		{
			return method_14<Box>("GetParent", Array.Empty<object>());
		}

		public void SetParent(Box parent)
		{
			method_8("SetParent", parent);
		}

		public BoxSpinnerStateInfo GetInfo()
		{
			return method_14<BoxSpinnerStateInfo>("GetInfo", Array.Empty<object>());
		}

		public void SetInfo(BoxSpinnerStateInfo info)
		{
			method_8("SetInfo", info);
		}

		public void Spin()
		{
			method_8("Spin");
		}

		public bool IsSpinning()
		{
			return method_11<bool>("IsSpinning", Array.Empty<object>());
		}

		public void Stop()
		{
			method_8("Stop");
		}

		public void Reset()
		{
			method_8("Reset");
		}
	}
}
